package com.ttc.ssm.po;

import java.util.Date;
import java.util.List;

/**
 * Created by 58296 on 2016/8/3.
 */
public class Education {
    private Integer education_id;
    private Integer resume_id;
    private String school;
    private Date date_start;
    private Date date_end;
    private Date date_added;

    private List arr;
    private String date_start_string;
    private String date_end_string;

    public List getArr() {
        return arr;
    }

    public void setArr(List arr) {
        this.arr = arr;
    }

    public String getDate_start_string() {
        if (date_start!=null) {
            java.text.DateFormat format1 = new java.text.SimpleDateFormat("yyyy-MM-dd");
            date_start_string = format1.format(date_start);
        }
        return date_start_string;
    }

    public void setDate_start_string(String date_start_string) {
        this.date_start_string = date_start_string;
    }

    public String getDate_end_string() {
        if (date_end!=null) {
            java.text.DateFormat format1 = new java.text.SimpleDateFormat("yyyy-MM-dd");
            date_end_string = format1.format(date_end);
        }
        return date_end_string;
    }

    public void setDate_end_string(String date_end_string) {
        this.date_end_string = date_end_string;
    }

    public Integer getEducation_id() {
        return education_id;
    }

    public void setEducation_id(Integer education_id) {
        this.education_id = education_id;
    }

    public Integer getResume_id() {
        return resume_id;
    }

    public void setResume_id(Integer resume_id) {
        this.resume_id = resume_id;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Date getDate_start() {
        return date_start;
    }

    public void setDate_start(Date date_start) {
        this.date_start = date_start;
    }

    public Date getDate_end() {
        return date_end;
    }

    public void setDate_end(Date date_end) {
        this.date_end = date_end;
    }

    public Date getDate_added() {
        return date_added;
    }

    public void setDate_added(Date date_added) {
        this.date_added = date_added;
    }
}
